package com.szrt.dao;

import java.util.List;

import com.szrt.dto.PageDTO;
import com.szrt.entity.UserEntity;

public interface UserDao {
	
	/**
	 * 查询分页
	 * @param page
	 * @return
	 * @throws Exception
	 */
	List<UserEntity> fingWithPage(PageDTO page) throws Exception;
	
	/**
	 * 根据id删除记录
	 * @param did
	 * @return
	 * @throws Exception
	 */
	int deleteById(Integer did) throws Exception;
	

}
